package com.chang.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chang.common.utils.PageUtils;
import com.chang.coupon.entity.SeckillSessionEntity;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动场次
 *
 * @author chang
 * @email 2045807586@qq.com
 * @date 2024-01-03 14:44:27
 */
public interface SeckillSessionService extends IService<SeckillSessionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    // 查询最近三天需要上架秒杀的商品
    List<SeckillSessionEntity> getLatest3DaySession();
}

